
package com.jf.cloud.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;


/**
 * @author zz
 */
public class PurchaseOrderUpdateDTO {

    @Schema(description = "采购id" )
    private Long purchaseOrderId;

    @Schema(description = "状态 0:已作废 1:待入库 2:已发货 3.部分入库 5:已完成" )
    private Integer status;

    public PurchaseOrderUpdateDTO() {
    }

    public PurchaseOrderUpdateDTO(Long purchaseOrderId, Integer status) {
        this.purchaseOrderId = purchaseOrderId;
        this.status = status;
    }

    public Long getPurchaseOrderId() {
        return purchaseOrderId;
    }

    public void setPurchaseOrderId(Long purchaseOrderId) {
        this.purchaseOrderId = purchaseOrderId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "PurchaseOrderUpdateDTO{" +
                "purchaseOrderId=" + purchaseOrderId +
                ", status=" + status +
                '}';
    }
}
